package com.ruoyi.project.order.mapper;

import com.ruoyi.project.order.domain.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    List<Order> selectOrderList(Order order);

    Order checkPostNameUnique(String orderName);

    int insertOrder(Order order);

    Order selectOrderByOrderId(@Param("orderId") Long id);

    int updateOrder(Order order);

    int deleteOrderByIds(@Param("ids") Long[] orderIds);
}
